frappe.listview_settings['SRM Sample Request'] = {
    filters: [
        ['workflow_state', '!=', 'Rejected']
    ],
	hide_name_column: true,
    onload: function(me) {
        me.$page.find(`div[data-fieldname='name']`).addClass('hide');
        
    },

    refresh: function(listview) {
        $(".comment-count").hide();
        $(".frappe-timestamp").hide();
        $(".avatar-small").hide();
    },

    
    formatters: {
        is_group(val,col,row) {
            return val ? val.bold() : "No";
        },
    },
}

// frappe.listview_settings['SRM Sample Request'].formatters =  {
    

//     exp_end_date(value) {
//         if (!value) return '';
//         return moment(value).fromNow();
//     }

// };